package com.ctgu.chatapp.model.Dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy.REPLACE
import androidx.room.Update
import com.ctgu.chatapp.model.pojo.User

@Dao
interface UserDao {
    @Insert(onConflict = REPLACE)
    suspend fun addUser(vararg user: User)

    @Update
    suspend fun upDateUser(vararg user: User)
}